package springdidemo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Data
@ConfigurationProperties(prefix="dbtypes")
public class Dbtypes {
    public List<String> name;
    public Map<String,String> ball;
}
